From d4496bbfbc836b2d0736c40538906ee27e218344 Mon Sep 17 00:00:00 2001 From: "lynx@idefix.cl.cam.ac.uk" Date: Mon, 30 Dec 2002 10:33:04 +0000 Subject: [PATCH] bitkeeper revision 1.7.3.57 (3e1020e0-dfh3X9yV_XBTiDw4VdH0A) debug --- xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c index c9420eaa56..b6af06fb8c 100644 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c @@ -178,7 +178,7 @@ unsigned long direct_mmap(unsigned long phys_addr, unsigned long size, /* add node on the list of directly mapped areas, make sure the * list remains sorted. */ - dmmap = (direct_mmap_node_t *)kmalloc(KMALLOC_SIZE, GFP_KERNEL); + dmmap = (direct_mmap_node_t *)kmalloc(sizeof(direct_mmap_node_t), GFP_KERNEL); dmmap->vm_start = addr; dmmap->vm_end = addr + size; entry = find_direct(¤t->mm->context.direct_list, addr); -- 2.30.2